package com.laifeng.sopcastsdk.controller.video;

import com.laifeng.sopcastsdk.configuration.VideoConfiguration;
import com.laifeng.sopcastsdk.video.OnVideoEncodeListener;

/**
 * @Title: IVideoController
 * @Package com.laifeng.sopcastsdk.controller.video
 * @Description:
 * @Author Jim
 * @Date 2016/11/2
 * @Time 下午2:17
 * @Version
 */

public interface IVideoController {

    void startRecord(OnVideoEncodeListener listener);

    void stopRecord();

    void startLive(OnVideoEncodeListener listener);

    void stopLive();

    boolean isLiving();

    boolean setVideoBps(int bps);

    void setVideoEncoderListener(OnVideoEncodeListener listener);
}
